package com.etl.user.model;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.xr.model.Model;

/**
 * <p>
 * 用户信息
 * </p>
 *
 * @author Arnold Yang
 * @since 2018-03-25
 */
@TableName("etl_user_data")
public class UserData extends Model {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId("user_id")
    private Long userId;
    /**
     * 性别(5-女，7-男)
     */
    private Integer gender;
    /**
     * 真实姓名
     */
    @TableField("id_name")
    private String idName;
    /**
     * 身份证号
     */
    @TableField("id_number")
    private String idNumber;
    /**
     * 联系人信息，JSON格式
     */
    private String contacts;
    /**
     * 工作信息，JSON格式
     */
    private String jobs;
    /**
     * 居住信息，JSON格式
     */
    private String residence;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getIdName() {
        return idName;
    }

    public void setIdName(String idName) {
        this.idName = idName;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getJobs() {
        return jobs;
    }

    public void setJobs(String jobs) {
        this.jobs = jobs;
    }

    public String getResidence() {
        return residence;
    }

    public void setResidence(String residence) {
        this.residence = residence;
    }

    @Override
    public String toString() {
        return "UserData{" +
        ", userId=" + userId +
        ", gender=" + gender +
        ", idName=" + idName +
        ", idNumber=" + idNumber +
        ", contacts=" + contacts +
        ", jobs=" + jobs +
        ", residence=" + residence +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", version=" + version +
        ", feature=" + feature +
        "}";
    }
}
